﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CellphoneRepair.DAL;

namespace CellphoneRepair.Entities
{
    [DisplayName("手机型号")]
    public class Xinghao
    {
        [DisplayName("型号编号")]
        public string Idxinghao { get; set; }

        [DisplayName("品牌编号")]
        public string Idpinpai { get; set; }

        [DisplayName("手机型号")]
        public string xinghao { get; set; }

        [DisplayName("CPU")]
        public string Cpu { get; set; }

        [DisplayName("运行内存")]
        public string Ram { get; set; }

        [DisplayName("内置存储")]
        public string Rom { get; set; }
    }

    public class XinghaoBll : DBCommon<Xinghao>
    {
        public override string TableName
        {
            get { return "Xinghao"; }
        }

        public override string PrimaryKey
        {
            get { return "Idxinghao"; }
        }

        public override string ConnKey
        {
            get { return "default"; }
        }

        public override string ParaF
        {
            get { return "@"; }
        }
    }
}